function openRegistration() {
	document.getElementById('valaszjel').style.display='block';
	document.getElementById('valasz_gombjel').style.display='none';
}

function closeRegistration() {
	document.getElementById('valaszjel').style.display='none';
	document.getElementById('valasz_gombjel').style.display='block';
}

function addNewEntryFields() {
	var template = $('entryfieldtemplate');
	var entryFields = $('entryfields');

	entryFields.innerHTML += template.innerHTML;
}

function openInvite(id) {
	if (document.getElementById(id).style.display != 'block') {
		document.getElementById(id).style.display='block';
	} else {
		document.getElementById(id).style.display='none';
	}
}